package top.program.user.service;

import top.program.user.entity.User;

import java.io.UnsupportedEncodingException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

public interface UserService {
    void createUser(User user) throws UnsupportedEncodingException, NoSuchAlgorithmException;

    List<User> findUserByUserName(String userName);
}
